package org.example.judge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.judge_pojo.ProblemCase;

import java.util.List;

public interface ProblemCaseService extends IService<ProblemCase> {

    //判题机判题时使用的测试数据
    List<ProblemCase> getSubmitCasesByProblemId(String id);

    /**
     * 获取某题目的所有测试用例
     * @param problemId
     * @return
     */
    List<ProblemCase> listByProblemId(String problemId);

    List<ProblemCase> listExampleByProblemId(String problemId);
}
